#include <stdio.h>
#define SIZE 4

int main()
{
  short dates[SIZE];
  short *pti;
  short index;
  double bills[SIZE];
  double *ptf;
  int i=0,j =0;

  pti = dates;
  ptf = bills;
  
  for(i =0;i<SIZE;i++) 
  {
    dates[i] = 1;
  }

  for(j =0;j<SIZE;j++)
  {
    bills[j] = 1.0;
  }
 
  printf("%23s %10s \n","short","double");
  for(index = 0;index <SIZE;index ++)
  {
    printf("pointers + %d:%10p %10p + %5d + %0.2f\n",
       index,pti + index,ptf + index,*(pti+index),*(ptf+index));
  }
  return 0;
}
